﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class apps_offertolease : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string module = null;
        Control ct;
            
        module = Request.QueryString["apps"].ToString().Trim();
        HtmlGenericControl gel = new HtmlGenericControl("div");
        try
        {
            int idvb = int.Parse(module);

            ct = Page.LoadControl("~/apps/uc_apps/" + idvb + ".ascx");

            gel.Controls.Add(ct);
            noidungvb.Controls.Add(gel);
        }
        catch(Exception ac)
        {
            Response.Write(ac.Message);
            mess.InnerHtml = "<br/><b>Trang ban yeu cau hien khong ton tai</b>";
        }
            
    }
}
